<template>
	<view></view>
</template>

<script setup>
	import {
		ref
	} from 'vue';
	import {
		onLoad
	} from "@dcloudio/uni-app"
	
	onLoad((option) => {
		const token = uni.getStorageSync('token')
		if (!token) {
			uni.reLaunch({
				url: '/pages/login/login'
			})
		}else {
			uni.switchTab({
				url: `/pages/tabbar/test`
			})
		}
	})
</script>

<style>
</style>